from fmz import *


def main():
    for exchange in exchanges:
        print(exchange.GetName())
        print(exchange.GetLabel())
    
if __name__=='__main__':
    cfg = ''' config
            start: 2018-02-19 00:00:00
            end: 2018-03-22 12:00:00
            period: 15m
            exchanges: [{"eid":"Bitfinex","currency":"BTC_USD","balance":10000,"stocks":0}]
        '''
    task = VCtx(cfg) #initialize 
    main()